Optimal. Leaf size=102 \[ \frac {1}{10 a \left (a+b x^2\right )^5}+\frac {1}{8 a^2 \left (a+b x^2\right )^4}+\frac {1}{6 a^3 \left (a+b x^2\right )^3}+\frac {1}{4 a^4 \left (a+b x^2\right )^2}+\frac {1}{2 a^5 \left (a+b x^2\right )}+\frac {\log (x)}{a^6}-\frac {\log \left (a+b x^2\right )}{2 a^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {28, 272, 46}
\begin {gather*} -\frac {\log \left (a+b x^2\right )}{2 a^6}+\frac {\log (x)}{a^6}+\frac {1}{2 a^5 \left (a+b x^2\right )}+\frac {1}{4 a^4 \left (a+b x^2\right )^2}+\frac {1}{6 a^3 \left (a+b x^2\right )^3}+\frac {1}{8 a^2 \left (a+b x^2\right )^4}+\frac {1}{10 a \left (a+b x^2\right )^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 46
Rule 272
Rubi steps
\begin {align*} \int \frac {1}{x \left (a^2+2 a b x^2+b^2 x^4\right )^3} \, dx &=b^6 \int \frac {1}{x \left (a b+b^2 x^2\right )^6} \, dx\\ &=\frac {1}{2} b^6 \text {Subst}\left (\int \frac {1}{x \left (a b+b^2 x\right )^6} \, dx,x,x^2\right )\\ &=\frac {1}{2} b^6 \text {Subst}\left (\int \left (\frac {1}{a^6 b^6 x}-\frac {1}{a b^5 (a+b x)^6}-\frac {1}{a^2 b^5 (a+b x)^5}-\frac {1}{a^3 b^5 (a+b x)^4}-\frac {1}{a^4 b^5 (a+b x)^3}-\frac {1}{a^5 b^5 (a+b x)^2}-\frac {1}{a^6 b^5 (a+b x)}\right ) \, dx,x,x^2\right )\\ &=\frac {1}{10 a \left (a+b x^2\right )^5}+\frac {1}{8 a^2 \left (a+b x^2\right )^4}+\frac {1}{6 a^3 \left (a+b x^2\right )^3}+\frac {1}{4 a^4 \left (a+b x^2\right )^2}+\frac {1}{2 a^5 \left (a+b x^2\right )}+\frac {\log (x)}{a^6}-\frac {\log \left (a+b x^2\right )}{2 a^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 76, normalized size = 0.75 \begin {gather*} \frac {\frac {a \left (137 a^4+385 a^3 b x^2+470 a^2 b^2 x^4+270 a b^3 x^6+60 b^4 x^8\right )}{\left (a+b x^2\right )^5}+120 \log (x)-60 \log \left (a+b x^2\right )}{120 a^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 110, normalized size = 1.08
method | result | size |
norman | \(\frac {-\frac {5 b \,x^{2}}{2 a^{2}}-\frac {15 b^{2} x^{4}}{2 a^{3}}-\frac {55 b^{3} x^{6}}{6 a^{4}}-\frac {125 b^{4} x^{8}}{24 a^{5}}-\frac {137 b^{5} x^{10}}{120 a^{6}}}{\left (b \,x^{2}+a \right )^{5}}+\frac {\ln \left (x \right )}{a^{6}}-\frac {\ln \left (b \,x^{2}+a \right )}{2 a^{6}}\) | \(85\) |
risch | \(\frac {\frac {b^{4} x^{8}}{2 a^{5}}+\frac {9 b^{3} x^{6}}{4 a^{4}}+\frac {47 b^{2} x^{4}}{12 a^{3}}+\frac {77 b \,x^{2}}{24 a^{2}}+\frac {137}{120 a}}{\left (b \,x^{2}+a \right ) \left (b^{2} x^{4}+2 a b \,x^{2}+a^{2}\right )^{2}}+\frac {\ln \left (x \right )}{a^{6}}-\frac {\ln \left (b \,x^{2}+a \right )}{2 a^{6}}\) | \(99\) |
default | \(-\frac {b \left (-\frac {a^{2}}{2 b \left (b \,x^{2}+a \right )^{2}}-\frac {a^{4}}{4 b \left (b \,x^{2}+a \right )^{4}}-\frac {a}{b \left (b \,x^{2}+a \right )}-\frac {a^{5}}{5 b \left (b \,x^{2}+a \right )^{5}}-\frac {a^{3}}{3 b \left (b \,x^{2}+a \right )^{3}}+\frac {\ln \left (b \,x^{2}+a \right )}{b}\right )}{2 a^{6}}+\frac {\ln \left (x \right )}{a^{6}}\) | \(110\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 126, normalized size = 1.24 \begin {gather*} \frac {60 \, b^{4} x^{8} + 270 \, a b^{3} x^{6} + 470 \, a^{2} b^{2} x^{4} + 385 \, a^{3} b x^{2} + 137 \, a^{4}}{120 \, {\left (a^{5} b^{5} x^{10} + 5 \, a^{6} b^{4} x^{8} + 10 \, a^{7} b^{3} x^{6} + 10 \, a^{8} b^{2} x^{4} + 5 \, a^{9} b x^{2} + a^{10}\right )}} - \frac {\log \left (b x^{2} + a\right )}{2 \, a^{6}} + \frac {\log \left (x^{2}\right )}{2 \, a^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 222 vs.
\(2 (90) = 180\).
time = 0.34, size = 222, normalized size = 2.18 \begin {gather*} \frac {60 \, a b^{4} x^{8} + 270 \, a^{2} b^{3} x^{6} + 470 \, a^{3} b^{2} x^{4} + 385 \, a^{4} b x^{2} + 137 \, a^{5} - 60 \, {\left (b^{5} x^{10} + 5 \, a b^{4} x^{8} + 10 \, a^{2} b^{3} x^{6} + 10 \, a^{3} b^{2} x^{4} + 5 \, a^{4} b x^{2} + a^{5}\right )} \log \left (b x^{2} + a\right ) + 120 \, {\left (b^{5} x^{10} + 5 \, a b^{4} x^{8} + 10 \, a^{2} b^{3} x^{6} + 10 \, a^{3} b^{2} x^{4} + 5 \, a^{4} b x^{2} + a^{5}\right )} \log \left (x\right )}{120 \, {\left (a^{6} b^{5} x^{10} + 5 \, a^{7} b^{4} x^{8} + 10 \, a^{8} b^{3} x^{6} + 10 \, a^{9} b^{2} x^{4} + 5 \, a^{10} b x^{2} + a^{11}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.36, size = 128, normalized size = 1.25 \begin {gather*} \frac {137 a^{4} + 385 a^{3} b x^{2} + 470 a^{2} b^{2} x^{4} + 270 a b^{3} x^{6} + 60 b^{4} x^{8}}{120 a^{10} + 600 a^{9} b x^{2} + 1200 a^{8} b^{2} x^{4} + 1200 a^{7} b^{3} x^{6} + 600 a^{6} b^{4} x^{8} + 120 a^{5} b^{5} x^{10}} + \frac {\log {\left (x \right )}}{a^{6}} - \frac {\log {\left (\frac {a}{b} + x^{2} \right )}}{2 a^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.58, size = 92, normalized size = 0.90 \begin {gather*} \frac {\log \left (x^{2}\right )}{2 \, a^{6}} - \frac {\log \left ({\left | b x^{2} + a \right |}\right )}{2 \, a^{6}} + \frac {137 \, b^{5} x^{10} + 745 \, a b^{4} x^{8} + 1640 \, a^{2} b^{3} x^{6} + 1840 \, a^{3} b^{2} x^{4} + 1070 \, a^{4} b x^{2} + 274 \, a^{5}}{120 \, {\left (b x^{2} + a\right )}^{5} a^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.24, size = 122, normalized size = 1.20 \begin {gather*} \frac {\ln \left (x\right )}{a^6}-\frac {\ln \left (b\,x^2+a\right )}{2\,a^6}+\frac {\frac {137}{120\,a}+\frac {77\,b\,x^2}{24\,a^2}+\frac {47\,b^2\,x^4}{12\,a^3}+\frac {9\,b^3\,x^6}{4\,a^4}+\frac {b^4\,x^8}{2\,a^5}}{a^5+5\,a^4\,b\,x^2+10\,a^3\,b^2\,x^4+10\,a^2\,b^3\,x^6+5\,a\,b^4\,x^8+b^5\,x^{10}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________